<?php
declare(strict_types=1);
namespace App\Controller\Api\V1;

use App\Controller\Api\BaseController;
use App\Core\Response;

class TestController extends BaseController
{
    public function index()
    {
        $params = $this->request->all();
        return $this->response->success($params);
    }

    public function home()
    {
        return $this->response->success([
            'id'=>1
        ]);
    }
}